import web
# environment
web.config.env = 'production'
# debug error messages
web.config.debug = False
# required adapter MySQLdb http://sourceforge.net/projects/mysql-python
web.config.database = web.database(dbn='mysql', user='foxpop', pw='123456', db='foxpop')
# sesiosns configs
web.config.session_parameters['cookie_name']        = '_fox'
web.config.session_parameters['cookie_domain']      = None
web.config.session_parameters['timeout']            = 86400
web.config.session_parameters['ignore_expiry']      = True
web.config.session_parameters['ignore_change_ip']   = True
web.config.session_parameters['secret_key']         = '1234567890asdfghjkl;qwertyuiopzx'
web.config.session_parameters['expired_message']    = '_sess'
